package cloud.xiangyixiang.www.spring.boot.java.basics.service;

/**
 * <p>
 * 老师接口类
 * </p>
 *
 * @author weixin
 * @date 2023/9/16 18:08
 */
public interface ITeacher {

    void teaching(String technology);

    default void rest(int minute){
        System.out.println("老师课间休息 " + minute + "分钟");
    }

}
